HelpGent\Module\Core\Rest_API\Base A

Total Complexity 52
Dependencies 4
Dependents 0
Total lines 349
Lines of code 181
Logical lines of code 93
Comment lines 93
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
check_admin_permission()
S
55 7 21
check_auth_permission()
S
57 6 18
response()
S
56 6 17
parse_array_items_to_int()
S
59 6 15
check_guest_permission()
S
57 5 18
has_valid_token()
S
52 4 26
prepare_item_for_response()
S
65 4 8
get_formatted_time()
S
69 2 6
convert_string_to_array()
S
67 2 8
is_user_admin()
S
79 1 3
convert_string_to_int_array()
S
72 1 5
__construct()
S
79 1 3
sanitize_timezone_string()
S
79 1 3
error_admin_check_failed()
S
69 1 7
error_nonce_missing()
S
69 1 7
sanitize_int()
S
80 1 3
validate_email()
S
80 1 3
validate_int()
S
80 1 3
error_auth_check_failed()
S
69 1 7